package com.powergisol.gis.service;

import com.powergisol.gis.entity.TabDataSetting;
import com.powergisol.gis.entity.TabMarkerColor;
import com.powergisol.gis.entity.TabMarkerStaticColor;
import com.powergisol.gis.util.Result;
import com.powergisol.gis.vo.SearchConditionVo;
import com.powergisol.gis.vo.TcmcDetailVo;

import java.util.List;
import java.util.Map;

public interface TabDataSettingService {


    /**
     * 通过服务名称和用户id相应的钻孔数据
     * @param serviceName
     * @param userId
     * @return
     */
    List<Object> listByServiceName(String serviceName,String pipeType, Integer userId);

    /**
     * 条件查询相应的钻孔数据
     * @return
     */
    List<Object> listByService(SearchConditionVo vo);

    List<TabMarkerColor> listByMarkers(String uuid);

    TabMarkerColor getMarkersByCondition(String uuid,String tcmc);

    List<TabMarkerColor> listByMarkerUndup(String uuid);

    List<TcmcDetailVo> listTcmc(String settingId);

    Result setMarkerColor(List<TabMarkerColor> colors);

    Map<String,Object> getDetailForZk(Integer settingId, Integer dataIndex, String ZKBH,String ZKX,String ZKY);

    Result setStaticMarkers(TabMarkerStaticColor color);

    List<TabMarkerStaticColor> listStaticMarker();

    /**
     * 根据服务名称删除相应的钻孔数据
     * @param serviceName
     */
    Result delZkByServiceName(String serviceName);

    Result delDataByServiceName(String serviceName);

    List<TabMarkerColor> listMarkersByUuid(String uuid);

    List<TabMarkerColor> getMarkerDetail(String uuid,String zkfc);

    List<TabDataSetting> getSetIdBySerID(List<Integer> serviceID);

    TabDataSetting getOne(Integer settingId);

    Map<String,Object> getByUserName(String userName);

}
